from fastapi import FastAPI
import uvicorn
from apps.app01.urls import user
from apps.app02.urls import shop

app = FastAPI()
app.include_router(user, prefix='/user', tags=['user'])
app.include_router(shop, prefix='/shop', tags=['shop'])


@app.post('/items')
def create_item(item: dict):
    return item


if __name__ == '__main__':
    uvicorn.run("main:app", host='127.0.0.1', port=8889, reload=True)

